import { ReactNode } from 'react';

import cs from './PromoCard.module.scss';

export const PromoCard = ({ children, image }: { children: ReactNode; image: ReactNode }) => (
  <div className={cs.promo}>
    <div className={cs.block}>{children}</div>
    <div className={cs.image}>{image}</div>
  </div>
);
